package com.xpsoft.oa.model.project;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.system.AppUser;

/**
 * ProjectFinalaudit Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class ProjectFinalaudit extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected Project project;
	@Expose
	protected AppUser manageUser;
	@Expose
	protected java.math.BigDecimal preTotal;
	@Expose
	protected java.math.BigDecimal materialCost;
	@Expose
	protected java.math.BigDecimal percentage;
	@Expose
	protected AppUser createUser;
	@Expose
	protected java.util.Date createTime;
	@Expose
	protected Long processRunId;

	/**
	 * Default Empty Constructor for class ProjectFinalaudit
	 */
	public ProjectFinalaudit () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class ProjectFinalaudit
	 */
	public ProjectFinalaudit (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public Long getProcessRunId() {
		return processRunId;
	}

	public void setProcessRunId(Long processRunId) {
		this.processRunId = processRunId;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	public AppUser getManageUser() {
		return manageUser;
	}

	public void setManageUser(AppUser manageUser) {
		this.manageUser = manageUser;
	}

	/**
	 * 预计总成本	 * @return java.math.BigDecimal
	 * @hibernate.property column="preTotal" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getPreTotal() {
		return this.preTotal;
	}
	
	/**
	 * Set the preTotal
	 */	
	public void setPreTotal(java.math.BigDecimal aValue) {
		this.preTotal = aValue;
	}	

	/**
	 * 材料成本	 * @return java.math.BigDecimal
	 * @hibernate.property column="materialCost" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getMaterialCost() {
		return this.materialCost;
	}
	
	/**
	 * Set the materialCost
	 */	
	public void setMaterialCost(java.math.BigDecimal aValue) {
		this.materialCost = aValue;
	}	

	/**
	 * 比例	 * @return java.math.BigDecimal
	 * @hibernate.property column="percentage" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getPercentage() {
		return this.percentage;
	}
	
	/**
	 * Set the percentage
	 */	
	public void setPercentage(java.math.BigDecimal aValue) {
		this.percentage = aValue;
	}	


	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

	/**
	 * 	 * @return java.util.Date
	 * @hibernate.property column="createTime" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * Set the createTime
	 */	
	public void setCreateTime(java.util.Date aValue) {
		this.createTime = aValue;
	}	

}
